<?php
class imgAction extends rareAction{
	public function execute(){
		$id = $this->getGetParam('id',0);
		if($id!=0){
			$dao = new DaoImage();
			list($images,$page) = $dao->getListPage("typeID='".service_type::ALBUM."' and itemID='$id'",20);
			$this->assign('images',$images);
			$this->assign('page',$page);
			$this->assign('albumID',$id);
		}
	}
}
?>
